home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 2005 June
/
ccd0605.iso
/
Software
/
Shareware
/
Programare
/
nativej
/
nativej-trial.exe
/
{app}
/
examples-source
/
Console.java
next >
Wrap
Text File
|
2004-12-14
|
348b
|
16 lines
package examples;
/**
* This is a sample Java program that runs in console mode.
*/
public class Console
{
public static void main(String[] args) throws Exception
{
if (args.length == 0)
System.out.println("Hello World!");
else
System.out.println("Hello " + args[0] + "!");
}
}